import { Component, OnInit } from '@angular/core';
import { ActivatedRoute } from '@angular/router';

@Component({
  selector: 'app-order',
  templateUrl: './order.component.html',
  styleUrls: ['./order.component.less']
})
export class OrderComponent implements OnInit {


  sDate = Date.now();

  money = 138;

  constructor(private route:ActivatedRoute) { }

  ngOnInit() {
    this.route.fragment.subscribe(fragment=>{
      console.log(fragment);
    })
  }

}
